package com.aaa.car.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (TbMaintainShop)实体类
 *
 * @author makejava
 * @since 2020-11-18 23:03:30
 */
public class TbMaintainShop implements Serializable {
    private static final long serialVersionUID = 377491189564990267L;
    /**
     * 维修表id
     */
    private Integer id;
    /**
     * 姓名
     */
    private String name;

    private String address;
    /**
     * 电话
     */
    private String phoneNum;
    /**
     * 维修时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd")//处理接收参数
    @JsonFormat(pattern="yyyy-MM-dd" ,timezone="GMT+8")
    private Date addtime;
    /**
     * 备注
     */
    private String remark;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}